<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex feedBackDetail_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between feedBackDetail_fd0_0'>
					<view class='flex flex-wrap align-center feedBackDetail_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  feedBackDetail_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='feedBackDetail_fd0_0_c1_c0'>历史反馈</text>
					</view>
					<view class='flex align-center justify-end feedBackDetail_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---反馈记录带联系人flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout feedBackDetail_flex_1">
				<template>
					<view class='flex flex-direction flex-wrap align-stretch feedBackDetail_fd1_0'>
						<view class='flex flex-wrap align-start feedBackDetail_fd1_0_c0'>
							<template v-for='(item,index) in dataMessage'>
								<view class='flex flex-wrap align-start feedBackDetail_fd1_0_c0_c0' :key='index'>
									<image class='feedBackDetail_fd1_0_c0_c0_c0' mode="aspectFit" :src='item.avatar'>
									</image>
									<view
										class='flex flex-direction flex-wrap align-stretch flex-sub feedBackDetail_fd1_0_c0_c0_c1'>
										<view
											class='flex flex-direction flex-wrap align-stretch feedBackDetail_fd1_0_c0_c0_c1_c0'>
											<view class='flex-sub'>
												<text
													class='feedBackDetail_fd1_0_c0_c0_c1_c0_c0_c0'>{{item.body}}</text>
											</view>
										</view>
										<view class='flex flex-wrap align-center'>
											<template v-for='(child,key1) in item.thumb'>
												<view
													class='flex flex-wrap align-center feedBackDetail_fd1_0_c0_c0_c1_c1_c0'
													:key='key1'>
													<image class='feedBackDetail_fd1_0_c0_c0_c1_c1_c0_c0'
														mode="aspectFill" :src='child'
														@tap.stop="multiImagePreview(child,item.thumb,'')"></image>
												</view>
											</template>

										</view>
										<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c0_c0_c1_c2'>
											<text class='feedBackDetail_fd1_0_c0_c0_c1_c2_c0'>反馈类型：</text>
											<text class='feedBackDetail_fd1_0_c0_c0_c1_c2_c0'>{{item.type}}</text>
										</view>
										<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c0_c0_c1_c3'>
											<text class='feedBackDetail_fd1_0_c0_c0_c1_c2_c0'>反馈时间：</text>
											<text
												class='feedBackDetail_fd1_0_c0_c0_c1_c2_c0'>{{item.create_time}}</text>
										</view>
									</view>
									<view class='flex flex-wrap align-center feedBackDetail_fd1_0_c0_c0_c2'
										v-if="item.is_replay=='2'">
										<text class='feedBackDetail_fd1_0_c0_c0_c2_c0'>平台回复：</text>
										<text class='feedBackDetail_fd1_0_c0_c0_c2_c1'>{{item.replay}}</text>
									</view>
								</view>
							</template>
							<view class="flex justify-center" v-if="dataMessage.length==0" style="width: 100%;">
								<fu-empty-ui></fu-empty-ui>
							</view>
						</view>
					</view>
				</template>
			</view>

			<!---反馈记录带联系人flex布局结束-->


		</view>
	</view>
</template>
<script>
	import pagingList from '@/common/mixin/paging_list.js';
	import {
		validate
	} from '@/common/utils/validate.js'
	export default {
		components: {},
		mixins: [pagingList],

		data() {
			return {
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"aa_id": "1",
				"dataMessage": [],
				"dataDetails": {
					"invite_code": "",
					"address": "",
					"address_code": "",
					"hobby": "",
					"tags": "",
					"id": "",
					"userlevel_id": "",
					"mobile": "",
					"real_name": "",
					"avatar": "",
					"account": "",
					"email": "",
					"birthday": "",
					"gender": "",
					"create_time": "",
					"user_money": "",
					"freeze_money": "",
					"total_consumption_money": "",
					"score": "",
					"_mobile": "",
					"coupon": "",
					"collection_count": "",
					"browse_count": "",
					"total_money": "",
					"certified": "",
					"nickname": "",
					"is_pay_password": "",
					"follow_count": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {
			this.getUserinfoFunc()
			this.getListFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//用户管理-意见反馈记录
			getListFunc() {
				this.$api.post('/m6752/641472eb35317',{
					user_type: '1'
				}).then(res=>{
					if(res.data.code == 1){
						this.dataMessage = res.data.data.data
					}
				})
			},
			//个人中心-获取会员详细信息
			async getUserinfoFunc() {
				//请求方法
				//数据验证

				let datadataDetails = await this.$api.get(global.apiUrls.post5c78c4772da97, {

				});

				if (datadataDetails.data.code != 1) {
					this.$message.info(datadataDetails.data.msg);
					return
				}
				let infodataDetails = datadataDetails.data;
				this.dataDetails = infodataDetails.data
			},
			pagingListPostData() {
				return this.pagingListPostDataContent
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.feedBackDetail_flex_0 {
		border-bottom: 1px solid #eee;
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.feedBackDetail_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.feedBackDetail_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		line-height: 50rpx;
	}

	.feedBackDetail_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: #333;
	}

	.feedBackDetail_fd0_0_c0 {
		width: 100rpx;
	}

	.feedBackDetail_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.feedBackDetail_flex_1 {
		padding: 0rpx 24rpx 0rpx 24rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c2_c1 {
		line-height: 46rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: var(--benbenFontColor0);
	}

	.feedBackDetail_fd1_0_c0_c0_c2_c0 {
		line-height: 46rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: rgba(153, 153, 153, 1);
	}

	.feedBackDetail_fd1_0_c0_c0_c2 {
		background: rgba(248, 248, 248, 1);
		padding: 24rpx 16rpx 24rpx 16rpx;
		margin: 24rpx 0rpx 0rpx 24rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
		width: 654rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c3 {
		margin: 0rpx 0rpx 0rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c2_c0 {
		line-height: 33rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: var(--benbenFontColor2);
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c2 {
		margin: 24rpx 0rpx 16rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c1_c0_c0 {
		width: 179rpx;
		height: 179rpx;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c1_c0 {
		margin: 24rpx 0rpx 0rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c0_c0_c0 {
		line-height: 46rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: var(--benbenFontColor0);
		padding: 0rpx 30rpx 0rpx 0rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1_c0 {
		position: relative;
		padding: 0rpx 0rpx 0rpx 16rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c1 {
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.feedBackDetail_fd1_0_c0_c0_c0 {
		width: 80rpx;
		height: 80rpx;
	}

	.feedBackDetail_fd1_0_c0_c0 {
		width: 100%;
		border-bottom: 1px solid #eee;
		background: var(--benbenbgColor1);
		padding: 24rpx 0rpx 32rpx 0rpx;
		border-radius: 16rpx;
		background-size: 100% auto;
	}

	.feedBackDetail_fd1_0_c0 {
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.feedBackDetail_fd1_0 {
		background: var(--benbenbgColor1);
		border-radius: 16rpx;
		background-size: 100% auto;
	}
</style>